{{#if strict}}"use strict";{{/if}}

var _ = {};

{{#if inBrowser}}
if (typeof window === 'object' && window.{{namespace}}) _ = window.{{namespace}};

{{#if excludeRef}}
{{#each excludeRef}}{{#if @first}}var {{else}}    {{/if}}{{.}} = _.{{.}}{{#if @last}};{{else}},{{/if}}
{{/each}}
{{/if}}
{{/if}}

{{code}}

{{#if commonjs}}module.exports = _;{{else if es}}export default _;{{else}}return _;{{/if}}